package com.itheima.day16_多态接口.demo03;

public class Demo {
    public static void main(String[] args) {
        Person person = new Person("老王", "30");
        person.keepPet(new Dog("2","黑"),"骨头");

        System.out.println("=======================");

        new Person("老李","25").keepPet(new Dog("3","灰"),"鱼");


    }
}
